home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 035a / bpq404.zip / KISSROMS.DOC < prev    next >
Text File  |  1991-03-07  |  5KB  |  134 lines

  1.         KISS Proms for use with TheNode.
  2.  
  3. Several PROM images are supplied for for use with TNC2 (or clones), and one
  4. for use with the TNC220.
  5.  
  6.  
  7. KISS is as released with the TCPIP package. I have used this code, and
  8. it seems to work, but it does have loopholes in its buffer management. As 
  9. I have experienced buffering problems with other KISS mode TNCs with TheNode,
  10. i've done a version which will reset if it runs out. This is a bit drastic,
  11. but should keep the system going. (Higher level software will retry the
  12. discarded messages). If it improves things, I'll refine it to discard the
  13. oldest. The new eprom image is in the file JKISS.
  14.  
  15.  
  16.  
  17. 220KISS is a version of JKISS, modified to run on the TNC220. This version
  18. only supports the VHF port (port 2) at 1200 baud,and the aync link to the PC
  19. is fixed at 2400. The DCD led is driven by software, but is controlled by the
  20. DCD signal from the modem (ie DCD processing is the same as with the TNC2 - 
  21. the SOFTDCD mode of the 220 is not implemented). Other versions are possible
  22. if there is sufficient interest - the main problem is that the KISS command
  23. set would have to be extended to include commands for port and speed switching.
  24.  
  25. Note the software is now set up to run with the clock speed jumper in the
  26. 'Low' speed position - several people have had problems running in the 'Fast'
  27. mode.
  28.  
  29.  
  30. BPQKISS - A Multidropped KISS system. (TNC2 and clones only)
  31.  
  32. I have implemented a system to allow more than one KISS-like TNC to connect
  33. to a single Async port. This is primarily for those running machines with
  34. little expansion capability, but can also enable the TNCs and transceivers
  35. to be located remotely from the PC with a simple 3 wire link. This could be
  36. useful on the lower frequencies, where QRM from the PC blocks the receiver
  37. ( I have real problems running a 50meg RX near the PC).  A simple checksum
  38. is also added to each packet, to reduce the risk of corruption if running on
  39. long leads (or even over a modem link).
  40.  
  41.  
  42. The system uses polling to prevent contention on the link. Each TNC must
  43. run the BPQKISS program, and each must have a different 'address' byte
  44. patched in at location 20hex. In the PORTS section of BPQCFG.TXT, PROTOCOL
  45. must be set to KISS, KISSOPTIONS to POLLED,CHECKSUM,ACKMODE and CHANNEL
  46. set to correspond to the address in the PROM -
  47.  
  48.     CHANNEL        Address (in byte 20h of PROM)
  49.  
  50.       A                00h
  51.           B                10h
  52.       C                20h
  53.           D                30h      etc
  54.  
  55. In theory you can have up to 16, but in practice the maximum will depend
  56. on the power of the PC and the speed of the radio ports.
  57.  
  58.  
  59. Wiring.
  60.  
  61.     PC        TNC 1        TNC 2      
  62.  
  63. GROUND    7 ---------------7----------------7-----------  etc
  64.  
  65. TXD    2 ---------------2----------------2-----------  etc
  66.  
  67. RXD    3 --------------------------------------------  etc
  68.               |          |
  69.              -          -
  70.              ^          ^
  71.              |          |
  72.              3          3
  73.  
  74. -
  75. ^   is a diode (1N914 or similar)
  76.  
  77.  
  78. With some TNCs and serial cards, a pulldown resistor may be required
  79. from pin 3 on the PC (10k to -12v is suggested). Thanks to G3ZFJ for this
  80. information.
  81.  
  82.  
  83.  
  84. The protocol used for this multidropped option was changed from version 3.59a
  85. onwards to be compatible with similar software produced by KANTRONICS for their
  86. range of TNCs. The new version is called BPQKISS, and replaces the old JKISSP.
  87.  
  88. KrFor those of you unfamiliar with KISS TNCs, the STA led indicates frames
  89. being received from the PC and the CON led frames being sent to the PC. On
  90. powerup, some LEDS should flash about 3 times - which ones depends on the
  91. version and the RAM size in the TNC.
  92.  
  93.  
  94.  
  95. CWID
  96.  
  97.  
  98. I have added CWID to my JKISS and BPQKISS EPROMs. The Callsign to be sent
  99. is patched into the EPROM image with the program PATCHID, which takes two
  100. parameters, the required callsign, and the file to patch (either JKISS or
  101. BPQKISS). Note that the specified file is overwritten, so I suggest you
  102. make a copy of the original first.
  103.  
  104.  
  105.     PATCHID G8BPQ JKISS    - Note call must be in upper case
  106.  
  107.  
  108. The CW patttern which will be sent is displayed on the screen - please
  109. check it, just in case my translate table is wrong!
  110.  
  111. The ID is sent after one minute, then at 29 minute intervals, with a dot
  112. length of 60ms. If my calculations are correct, this equates to 20 WPM
  113.  
  114. The ID is send in AFSK (assuming a normal AFSK modem), but because of the
  115. hardware design it is not possible to control which tone corresponds to
  116. mark or space - it depends on what was sent just before the ID starts.
  117. If you are using a modem with a scrambler (eg G3RUH), then the system 
  118. wont work - the two tones will sound the same. I'd like to know if a
  119. CWID facility for RUH modems would be useful - if there is a significant
  120. demand I'll see if I can find a solution. A simple on-off keying may be
  121. possible, but would depend on the PTT characteristics of the TX. If you 
  122. have a better idea, please let me know!
  123.  
  124.  
  125. The normal SLOTTIME/PERSISTENCE code is used to minimise collisions with
  126. other stations (hence the interval of 29 mins, allowing a bit of time for
  127. conjestion, without going over the statutory 30 mins interval).
  128.  
  129.  
  130.  
  131. John Wiseman, G8BPQ
  132. 7 March 1991
  133.  
  134.